package com.snail.jj.androiddemos.javabasic;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.snail.jj.androiddemos.R;
import com.snail.jj.androiddemos.bases.BaseActivity;
import com.snail.jj.androiddemos.beans.Person;

/**
 * Created by snail on 2017/4/24.
 */

public class AbstractActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_abstract);

        Person p = new Person();
        p.eat();
        p.sleep();

    }
}
